package com.daoeping.dao;

import java.util.List;

import com.daoeping.domain.Bsc_workyear;

public class WorkYearDao extends AllDaoSupport {

	public List<Bsc_workyear> SelectBsc_workyearById(int id){
		String hql ="from Bsc_workyear w where w.id="+id;
		return (List<Bsc_workyear>) this.selectDataByHQL(hql);
	}

	public List<Bsc_workyear> SelectBsc_workyears(){
		String hql ="from Bsc_workyear workyear";
		return (List<Bsc_workyear>) this.selectDataByHQL(hql);
	}
}
